package com.jzhao.jpre.model.dao;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import com.jzhao.jpre.model.KBMerchantInfo;

class MerchantInfo implements RowMapper 
{

	public Object mapRow(ResultSet rs, int rowNum) throws SQLException 
	{
		KBMerchantInfo KBM = new KBMerchantInfo();
		KBM.setCityCode(rs.getString("CITYCODE"));
		KBM.setMerAdd(rs.getString("ADDRESS"));
		KBM.setMerNumber(rs.getString("TEL"));
		return KBM;
	}
}